<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>my css1</title>
    <style>
        * {
            color: #333333;  /*前景色深灰*/
            margin: 0;       /*外边距为0*/
            padding: 0;      /*内边距为0*/
        }
        /*body {
            background-color: silver;
        }*/
        h1 {
            text-align: center;
            /*background-color: orangered;*/
        }
        .c1 {
            color: purple;
        }
        p.c2 {
            text-align: right;
        }
        div .c3 {
            text-decoration: underline;
        }
        #id1 {
            font-weight: bold;
        }
        #id1,.c1,.c2 {
            color: darkgreen;
        }
        a:link {    /*访问前的样式（历史记录中没有）*/
            color: blue;
        }
        a:visited {   /*访问后的样式*/
            color: purple;
        }
        a:hover {      /*鼠票悬浮时的样式*/
            font-size: 1.2em;
            background-color: #ce8483;
        }
    </style>
</head>
<body>
<div>
    <a href="http://linux.tedu.cn">达内云计算</a>
</div>
<hr>
<h1>达内云计算 nsd <span class="c1">cloud</span> computing</h1>
<div class="c3">达内云计算 nsd cloud computing</div>
<div>达内云计算 nsd <span class="c3">cloud</span> computing</div>
<div id="id1">达内云计算 nsd cloud computing</div>
<div>达内云计算 nsd cloud computing</div>
<div>达内云计算 nsd cloud computing</div>
<div class="c2">达内云计算 nsd cloud computing</div>
<div class="c1">达内云计算 nsd cloud computing</div>
<div>达内云计算 nsd cloud computing</div>
<p class="c2">达内云计算 nsd cloud computing</p>
<p>达内云计算 nsd cloud computing</p>
<p class="c1">达内云计算 nsd cloud computing</p>
<p>达内云计算 nsd cloud computing</p>
</body>
</html>